package io.renren.modules.skate.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.renren.common.utils.DateUtils;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
* 新闻表
*
* @author Mark sunlightcs@gmail.com
* @since 3.0 2023-11-28
*/
@Data
@ApiModel(value = "新闻表")
public class FNewsDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long id;
    @ApiModelProperty(value = "分类id")
    private Integer classifyId;
    @ApiModelProperty(value = "分类")
    private String classifyName;
    @ApiModelProperty(value = "标题、姓名")
    private String title;
    @ApiModelProperty(value = "内容")
    private String content;
    @ApiModelProperty(value = "发布时间")
    @JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
    private Date pubDate;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
    private Date createDate;
    @ApiModelProperty(value = "修改时间")
    @JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
    private Date updateDate;
    @ApiModelProperty(value = "图片、头像")
    private String img;
    @ApiModelProperty(value = "副标题、教练简介")
    private String subTitle;
    @ApiModelProperty(value = "教练级别")
    private String remark;
    @ApiModelProperty(value = "教练级别")
    private Integer type;
    @ApiModelProperty(value = "创建人")
    private String creator;
    @ApiModelProperty(value = "更新人")
    private String updater;
    @ApiModelProperty(value = "更新人")
    private String createDateStr;

    private Integer clubId;
    private String clubName;

}